Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Improve numeric stability rolling_{std, var, cov, corr} #21528

Merged
merged 2 commits into from
Feb 28, 2025
Merged

Conversation

ritchie46
Copy link
Member

fixes #21491

@ritchie46 ritchie46 changed the title feat: Improve numeric stability rolling_{std, var, cov, corr} feat: Improve numeric stability rolling_{std, var, cov, corr} Feb 28, 2025
@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels Feb 28, 2025
@ritchie46 ritchie46 merged commit 520edad into main Feb 28, 2025
25 checks passed
@ritchie46 ritchie46 deleted the rolling branch February 28, 2025 13:13
Copy link
Contributor

The uncompressed lib size after this PR is 41.6674 MB.

Copy link

codecov bot commented Feb 28, 2025

Codecov Report

Attention: Patch coverage is 93.75000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 79.82%. Comparing base (69612d4) to head (1d1e816).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...rates/polars-compute/src/rolling/nulls/variance.rs 89.47% 4 Missing ⚠️
...es/polars-compute/src/rolling/no_nulls/variance.rs 97.22% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21528      +/-   ##
==========================================
+ Coverage   79.81%   79.82%   +0.01%     
==========================================
  Files        1592     1592              
  Lines      229268   229216      -52     
  Branches     2623     2623              
==========================================
- Hits       182987   182971      -16     
+ Misses      45676    45640      -36     
  Partials      605      605              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

anath2 pushed a commit to anath2/polars that referenced this pull request Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong result with rolling_corr
1 participant